package demo;

import java.util.*;
import java.io.*;
class Read {
    StringTokenizer st = new StringTokenizer("");
    BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
    String next() throws IOException {
        while(!st.hasMoreTokens()) {
            st = new StringTokenizer(bf.readLine());
        }
        return st.nextToken();
    }
    String nextLine() throws IOException {
        return bf.readLine();
    }
    int nextInt() throws IOException {
        return Integer.parseInt(next());
    }


}
class ComparaInteger implements Comparator{

    @Override
    public int compare(Object o1, Object o2) {
        return 0;
    }
}
public class Test1 {
    public static void main(String[] args) throws IOException {
        Read in = new Read();
        int n = in.nextInt();
        String s = in.next();
        String ss = in.nextLine();
        System.out.println(n);
        System.out.println(s);
        System.out.println(ss);

    }
    public static void main2(String[] args) {
        Stack<Integer> stack = new Stack<>();
        Queue<Integer> q = new LinkedList<>();


        PriorityQueue<Integer> q1 = new PriorityQueue<>(new Comparator<Integer>() {
            @Override
            public int compare(Integer o1, Integer o2) {
                return 0;
            }
        });

    }
    public static void main1(String[] args) {
        //字符串的操作
        String s = "abcd";
        //1.
        char ch = s.charAt(2);
        //System.out.println(ch);
        //2.
        int index = s.indexOf('z');
        //System.out.println(index);
        char ch2 = Character.toLowerCase('A');
        System.out.println(ch2);
        ch2 = Character.toUpperCase(ch2);
        System.out.println(ch2);
    }
}
